Recipe actions

Used to program recipe management.

DownLoadRecipe

Copy recipe data from HMI device flash memory to the controller (e.g. PLC, local variable, depending on the protocol).

Parameter Description
RecipeName Name of recipe to download
RecipeSet

Number of recipe set to copy.

curSet = download currently selected recipe set

UpLoadRecipe

Saves recipe data from the controller (e.g. PLC, local variable, depending on the protocol) to the device Flash Memory.

Parameter Description
RecipeName Name of recipe to upload
RecipeSet

Number of recipe set to copy.

curSet = upload currently selected recipe set

WriteCurrentRecipeSet

Sets the selected recipe as current recipe set.

Parameter Description
RecipeName Name of recipe to set as current recipe
RecipeSet Recipe set to define as current recipe set
DownLoadCurRecipe

Downloads current set of recipe data to the controller.

No parameter is required.

UploadCurRecipe

Uploads set of controller data to current recipe set.

No parameter is required

ResetRecipe

Restores factory settings for recipe data. Original recipe data will overwrite uploaded recipes

Select the recipe that you want to reset to factory data.

DumpRecipeData

Dumps recipe data to internal or external storage. Data is saved in .csv format.

Parameter Description
RecipeName Name of recipe to dump
RecipeDataSet

Select the recipe dataset to dump

Not available when RecipeName=AllRecipes. In this case, all datasets are dumped.

FilePath

Destination folder

  • Internal = \Flash\QTHMI\workspace\Dump
  • USB drive = \USBMemory
  • SD Card = \Storage Card
  • Public Network = \\<hostname or IP>\sharePath
  • Private Network = \\<username>:<password>@<hostname or IP>\sharePath

Note: supported formats for external memory are FAT or FAT32 (NTFS format is not supported).

Note: Private networks are supported only from Linux devices with BSP 1.0.25 and above.

FileName

Tag that specifies a filename.

The below wildcards are supported

  • %r = Recipe name
  • %d = Dataset name

Example: %r_%d

DateTimePrefixFileName true = the dumped file will have date and time as prefix to its name (for example D2012_01_01_T10_10_recipe1.csv)
TimeSpec

Time format:

  • Local = the time values exported are the time of the HMI device.
  • Global = the time values exported are in UTC format.
KeepCaseSensitivity

Allow case sensitivity.

Only applicable under Linux, other platforms does save in lower case

RestoreRecipeData

Restores previously saved recipe data.

Parameter Description
RecipeName

Recipes to restore:

  • AllRecipes
    Data of all recipes will replaced with the data read from the external file
  • CurrentRecipe
    Only the data of the current selected recipe will replaced with the data read from the external file
RecipeDataSet

Available only when RecipeName=CurrentRecipe.

Select the data sets to restore:

  • AllRecipeDataSet
    All data set will restored
  • curSet
    Only the data set of the current selected data set will restore
Restore Type

Available only when RecipeDataSet=AllRecipeDataSet.

This parameter define the behavior when the numbers of data sets inside the file to restore is not matching with the data set number inside the HMI device

  • Replace
    All data sets that are inside the device are removed and replaced with the data sets from the csv file
  • Match
    Replace only the data set inside the device that have the same data set id
  • MatchAndAdd
    Replace the data set inside the device that have the same data set id and add the additional data set found inside the csv file (Note: data sets that are inside the device but not inside the csv file are not removed from the device)
FilePath

Source folder

  • Internal = \Flash\QTHMI\workspace\Dump
  • USB drive = \USBMemory
  • SD Card = \Storage Card
  • Public Network = \\<hostname or IP>\sharePath
  • Private Network = \\<username>:<password>@<hostname or IP>\sharePath

Note: supported formats for external memory are FAT or FAT32 (NTFS format is not supported).

Note: Private networks are supported only from Linux devices with BSP 1.0.25 and above.

FileName Attached tag from which read the file name at runtime.
BrowseForFile

true = shows the Open dialog to browse the file to read.

false = no dialog is shown,

AddRecipeDataSet

Adds a new dataset to the selected recipe. The new dataset is appended at the end of the already defined datasets.

Parameter Description
RecipeName Recipe where the dataset is added.
CopyFrom Dataset from where parameters values are copied from to initialize the new dataset
NewSetName

Name of new dataset.

Here you can you can use a tag reference.

DelRecipeDataSet

Deletes a dataset from the selected recipe. Deleting a dataset will rearrange the position number of the datasets that follow.

Parameter Description
RecipeName Recipe where the dataset is to be deleted.
DataSet Dataset to be deleted.